package cn.diancan.service;

import java.io.File;

import cn.diancan.exception.OutMsgException;

public interface ImageFileAService {
	
	//是否需要压缩 
	//需要如何裁剪
	public String saveImage(File  file,String fileName,String fileType,Integer isCompre) throws OutMsgException , Exception;
	
	/**
	 * 音频
	 * @param file
	 * @param fileName
	 * @param fileType
	 * @return
	 */
	public String saveSound(File file ,String fileName,String fileType)throws OutMsgException , Exception;

	/**
	 * 视频
	 * @param file
	 * @param fileName
	 * @param fileType
	 * @return
	 */
	public String saveVideo(File file ,String fileName,String fileType)throws OutMsgException , Exception;
	
}
